package com.demo;

import com.demo.service.index.IndexService;
import com.demo.service.index.entity.IndexEntity;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@SpringBootApplication
@MapperScan("com.demo.service.*.mapper")  //扫描mapper

public class Application {

	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
	}


}
